<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="/struts-tags" prefix="s" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>All Categories</title>
<style type="text/css">
table
{
border-style: solid;
border:1px;
}
</style>
</head>
<body>
<%@include file="logoheader.jsp" %>
<h2><center>CATEGORIES</center></h2>
<table>

<s:iterator value="list1">
<tr>
<td><a href="addsubcategoryadmin.jsp?category_id=<s:property value="category_id"/>"><s:property value="category_name"/></a>
</td></tr>
</s:iterator>
</table>
<br><br><br><br><center>
<a href="addcategoryadmin.jsp">Add more categories</a>
</center>
</body>
</html>